package pl.koziczak.knowledgeintegration.main;

import java.util.ArrayList;
import java.util.List;

public enum CommandLineArgument {
	FIRST_FILE("-f1",true),SECOND_FILE("-f2",true),RESULT_FILE("-rf",true);
	
	private final String prompt;
	private final boolean required;
	
	private CommandLineArgument(String prompt,boolean required) {
		this.prompt = prompt;
		this.required = required;
	}
	
	public static List<CommandLineArgument> getAll() {
		List<CommandLineArgument> result = new ArrayList<CommandLineArgument>();
		result.add(FIRST_FILE);
		result.add(SECOND_FILE);
		result.add(RESULT_FILE);
		
		return result;
	}
	
	public String getPrompt() {
		return prompt;
	}
	
	public boolean isRequired() {
		return required;
	}
}
